import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';

const contract: AppRouteModule = {
  path: '/sign',
  name: 'Contract',
  component: LAYOUT,
  meta: {
    orderNo: 10000,
    icon: 'ion:build-outline',
    title: '合同管理',
  },
  children: [
    {
      path: 'sign-list',
      name: 'signList',
      meta: {
        title: '合同流程列表',
      },
      component: () => import('@/views/contract/console-view/list.vue'),
    },
    {
      path: 'stamp-list',
      name: 'StampList',
      meta: {
        title: '盖章列表',
      },
      component: () => import('@/views/contract/stamp/stamp-list/index.vue'),
    },
    {
      path: 'template-list',
      name: 'TemplateList',
      meta: {
        title: '模板管理',
      },
      component: () => import('@/views/contract/template/list.vue'),
    },
  ],
};

export default contract;
// export default {
//   path: '/sign',
//   name: 'Contract',
//   component: LAYOUT,
//   meta: {
//     orderNo: 10000,
//     icon: 'ion:build-outline',
//     title: '合同管理',
//   },
// };
